package com.tc.workflow.provider;

import com.vip.vpal.workflow.AssigneeProvider;
import com.vip.vpal.workflow.entity.WorkflowAssigneeRule;
import com.vip.vpal.workflow.model.Assignee;
import com.vip.vpal.workflow.model.PageForm;

import java.util.ArrayList;
import java.util.List;

public class MyAssigneeProvider implements AssigneeProvider {
    @Override
    public List<Assignee> assign(PageForm form, WorkflowAssigneeRule rule) {
        List<Assignee>  list =new ArrayList<>();
        list.add(new Assignee("cai.tian","田才"));
        list.add(new Assignee("cai.tian1","田才1"));
        return list;
    }
}
